package com.sxz.mall.mallcart.service;

import com.sxz.mall.mallcart.vo.Cart;
import com.sxz.mall.mallcart.vo.CartItem;

import java.util.List;
import java.util.concurrent.ExecutionException;

public interface ICartService {

    Cart getCartList();

    CartItem addCart(Long skuId, Integer num) throws ExecutionException, InterruptedException;

    List<CartItem> getUserCartItems();
}
